Before we begin, let's take
a look at the project objectives, learn to complete a nontrivial task. And to end yourself by
applying all the skills and knowledge you have learned so far. From problem understanding to design,
development, testing, review and
re factor and integration. Implement all the knowledge you
have gained in the past weeks and surprise yourself by how far you've come. Here's the introduction
of project Meal Drop. A food delivery service that has
hundreds of restaurant partners in over 10 metropolitan cities. The meal drop app allows restaurants to
accept orders via their online portal or their mobile app and
prepare them for business. Delivery partners use their logistics
application for pickup and delivery. On the other hand, consumers can use
this app from Google's play store or app store to browse
restaurants in place orders. As part of the solution,
meal drop will build three apps. The meal drop app which will be available
on the play store or the app stores. So, consumers can browse restaurants,
read menus and place orders. The meal drop restaurant partner app which
is installed on the restaurant managers cellphone. And allows them to receive and
accept orders and the meal dropped delivery agent app. Which lets the delivery agent pick up
the delivery from the restaurant and deliver it to the consumers address. To build three different microservices
as the back end APIs for the three apps. Meal drop requires your help to implement
and containerized the application. The following steps will guide you in
building separate Microservices for each of the three apps. Step one,
developed three projects, one for each micro service meal drop API. Meal dropped restaurant partner API and
meal dropped delivery agent API. Step two can figure a separate database
deployment for each micro service. Mongo DB is the preferred database but you may use whatever no
SQL database you like. Step three, developed the APIs implement
JSON Web Token or JWT authorizations and ensure they work with the open
API specifications shared above. Step four, synchronized order data among the three microservices
using RabbitMQ messaging. As a developer you should
first plan your work, break down the meal dropped
development process into milestones. Register users, log in with a valid user, preview the restaurant and food details, add the food to the cart and
order the food. For the development of the meal drop app. The project suggested approach
will be create design based on the micro service architecture. The microservices architecture design
will enable the smooth development of the application. Agile methodology can be used
to develop services that support the application functionality. A prototype should be
built using the GUI tool, pencil as a first step to
developing the solution. You can download the GUI tool
from the following URL shown. Create data models. Using data models, you can focus on what
data is required and how to organize it. Data models can be compared to a roadmap,
an architect's blueprint or any other formal diagram that provides
insights into what is being designed. Design microservices. The crucial step in building
a back end application is to break the application into different services. To design a micro service,
use Discovery Service for API gateway. Use various types of
communication techniques for micro service communication. Design Micro service communication. Use a synchronous approach for
communication. Also using asynchronous approach for
communication. Develop test code unit
testing components help developers detect bugs in
code at an early stage. It also helps to add new features
without breaking the existing code. Design implementation should
be done as the last step. The quality of code should be maintained
by writing a well indented code, adding comments to support the code. And removing unused variables and imports. While performing the project exercise,
you must ensure that design documents should be saved in a separate
folder outside the source code. The solution should be developed
using the NPM library. Design principles of rest and
microservices should be duly followed. Design principles such as single
responsibility principle or SRP. And don't repeat yourself or DRY should be followed while designing and
developing solution code. To write the test cases,
use Mocha and Chai library. Use default hooks in
the implementation of test cases. As a back end support
MongoDB should be used. For the submission of your project
please follow these instructions. The solution code should be zipped and
then uploaded for submission. The zip code should exclude
the folder node modules. The solution code should
contain the Readmedot MD files that provide the details for
executing the project. The details should include project
objective Tech stack used. And the list of commands to run. MongoDB server application test cases.